﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class ComEnum
    {
    }

    // <summary>
    /// 错误码
    /// </summary>
    public enum ResponseCode
    { /// <summary>
      /// 请求成功
      /// </summary>
        [Description("请求成功")]
        Success = 100,

        /// <summary>
        /// 格式错误
        /// </summary>
        [Description("请求格式错误")]
        ErrorFormal = 101,

        /// <summary>
        /// 请求实体为空
        /// </summary>
        [Description("请求实体为空")]
        EmptyRequest = 102,

        /// <summary>
        /// 未登录
        /// </summary>
        [Description("未登录")]
        Nologin = 103,

        /// <summary>
        /// 流水号或会员ID不能为空
        /// </summary>
        [Description("流水号或会员ID不能为空")]
        EmptyMemberId = 104,

        /// <summary>
        /// 签名不正确
        /// </summary>
        [Description("签名不正确")]
        ErrorSign = 105,

        /// <summary>
        /// 未找到订单信息
        /// </summary>
        [Description("未找到订单信息")]
        NoOrder = 106,

        /// <summary>
        /// 订单号和会员Id不匹配
        /// </summary>
        [Description("订单号和会员Id不匹配")]
        NoMatch = 107,
        /// <summary>
        /// 未配置题库信息
        /// </summary>
        [Description("未配置题库信息")]
        NoPaper = 108,

        /// <summary>
        /// 有必答题未填写
        /// </summary>
        [Description("有必答题未填写")]
        NotComplete = 109,


        /// <summary>
        /// 更新失败
        /// </summary>
        [Description("更新失败")]
        DbError = 110,

        /// <summary>
        /// 您已经提交过，无需重复提交
        /// </summary>
        [Description("您已经提交过，无需重复提交")]
        AlreadyExists = 111,
    }
}
